public class Main {

    public static void main(String[] args) {
        // write your code here
        Array<Integer> arr = new Array<>();
        for (int i = 1; i < 11; i++) {
            arr.push(i);
        }
        System.out.println(arr);

        arr.push(11);
        System.out.println(arr);

       arr.remove(9);
       System.out.println(arr);

       arr.pop();
       System.out.println(arr);
    }
}
